package whf.shop.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.util.BeanFactory;
import whf.shop.dao.OrderItemDAO;
import whf.shop.entity.OrderItem;

/**
 * 服务对象具体实现，委托相应的dao对象实现相关操作
 * 
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2007-01-11
 */
public class OrderItemServiceImp extends whf.framework.service.ServiceImp<OrderItem>
		implements OrderItemService {

	private OrderItemDAO orderItemDAO;

	public void setOrderItemDAO(OrderItemDAO orderItemDAO) {
		this.orderItemDAO = orderItemDAO;
	}

	public static OrderItemService getOrderItemService()
			throws ServiceNotFoundException {
		return (OrderItemService) BeanFactory
				.getService(OrderItemServiceImp.class);
	}

}